<script setup lang="ts">

</script>

<template>
  <div class="hero">
    <div class="container">
      <h1>Welcome To My Website</h1>
      <p>Happy life, everything goes smoothly</p>
    </div>
  </div>
</template>

<style scoped lang="scss">
.hero {
  background-image: url('@/assets/images/home_background.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero h1 {
  font-size: 46px;
  color: #fff;
  margin: -20px 0 20px;
}

.hero p {
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
}

.content h2,
.content h3 {
  font-size: 150%;
  margin: 20px 0;
}

.content p {
  color: #555;
  line-height: 30px;
  letter-spacing: 1.2px;
}
</style>
